package com.huqing.icu.base;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description 分页类
 * @Author huqing
 * @Date 2025/5/11 21:46
 **/

@Schema(name = "PageReq", description = "分页类")
@Data
public class PageDto {

    @Schema(name = "pageIndex", description = "第几页")
    private Integer pageIndex;

    //此字段在在线文档中不展示
    @Schema(name = "startIndex", description = "起始页", hidden = true)
    private Integer startIndex;

    @Schema(name = "pageSize", description = "每页大小")
    private Integer pageSize;
}
